var GFMenuNode = Base.extend({
	items: null,
	title: null,
	constructor: function(title)
	{
		this.items = new Array();
		this.title = title;
	},
	SetItem: function(i,display,obj)
	{
		var item = {};

		item.display = display;
		item.obj = obj;
		item.show = true;
		this.items[i] = item;
	},
	DeleteItem: function(i)
	{
		this.items[i] = null;
	},
	SetTitle: function(title)
	{
		this.title = title;
	},
	RemoveAll: function()
	{
		this.items = new Array();
	},
	ShowItem: function(i,show)
	{
		if(this.items[i]) this.items[i].show = show;
	},
	GetCount: function()
	{
		return this.items.length;
	}
});

var GFMenu = Base.extend({
	head: null,
	constructor: function(head)
	{
		this.head = head;
	},
	ShowMenu: function() {},
	HideMenu: function() {}
});

